import { get, put, deletes, post } from '../http'
export let getxinwen = (url, params) => {
    return get(url, params).then(res => {
        return res
    })
}

export let postxinwen = (url, params) => {
    return post(url, params).then(res => {
        return res
    })
}

export let putxinwen = (url, params) => {
    return put(url, params).then(res => {
        return res
    })
}

export let deletesxinwen = (url, params) => {
    return deletes(url, params).then(res => {
        return res
    })
}